# Contributor: Mika Havela <mika.havela@gmail.com>
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=py3-genshi
_realname=Genshi
pkgver=0.7.7
pkgrel=3
pkgdesc="Python toolkit for stream-based generation of output for the web"
url="http://genshi.edgewall.org/"
arch="all"
license="MIT"
depends="python3"
makedepends="py3-setuptools python3-dev"
checkdepends="py3-six"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/edgewall/genshi/archive/$pkgver.tar.gz"
builddir="$srcdir/genshi-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
c946a27f451b74bab9c4af63965fc255c69736d436f39f9cc346df4ecf5e13f6ee46ae71c5df572a908c89990b31d1ec442e966ab7620994e096e5d021d71487  py3-genshi-0.7.7.tar.gz
"
